package com.paic.selfhelp.web;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;



@Controller
@RequestMapping("/test")
public class TestController {
	public static Logger log = Logger.getLogger(TestController.class);
	
	@RequestMapping("/hello")
	public String application(HttpServletRequest request,
			HttpServletResponse response) {

		log.info("this is 日志");
		System.out.println("this is 输出");
		return "hello";
	}
}
